import {IComponentType} from "@bastet/widgets";

export default {
  version: '0.0.1',
  type: IComponentType.DRAG,
  // 全套的子组件
  children: [
    {
      name: 'Grid-Item',
      type: IComponentType.DROP,
      renderProps: {
        style: { width: 100, height: 30 }
      },
      children: [
        /*{
          name: 'CARD',
          type: IComponentType.DROP,
          renderProps: {
            style: { width: 100, height: 30 }
          },
          children: [{ name: 'Grid-Item', type: IComponentType.DRAG, }]
        }*/
      ]
    }
  ],

  // 组件配置
  config: {

  },

  // 组件默认树形
  renderProps: {
    style: { width: 300, height: 100 }
  }
}